package com.wanxi;

import java.util.Objects;

public class Phone {
    private String brand;
    private String color;
    private String price;

    public Phone() {
    }

    public Phone(String brand, String color, String price) {
        this.brand = brand;
        this.color = color;
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void call() {
        Util.print("正在使用价格为{1}{2}的{3}手机打电话", price, color, brand);

    }

    public void sendMessage() {
        Util.print("正在使用价格为{1}{2}的{3}手机打电话", price, color, brand);

    }




}
